home *** CD-ROM | disk | FTP | other *** search
/ C++ für Kids / C++ for kids.iso / Buch / OOP4.cpp < prev    next >
C/C++ Source or Header  |  1999-01-14  |  704b  |  24 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl\vcl.h>
  3. #pragma hdrstop
  4. //---------------------------------------------------------------------------
  5. USEFORM("Poly2.cpp", Form1);
  6. USERES("OOP4.res");
  7. USEUNIT("Obutton2.cpp");
  8. //---------------------------------------------------------------------------
  9. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  10. {
  11.     try
  12.     {
  13.         Application->Initialize();
  14.         Application->CreateForm(__classid(TForm1), &Form1);
  15.         Application->Run();
  16.     }
  17.     catch (Exception &exception)
  18.     {
  19.         Application->ShowException(&exception);
  20.     }
  21.     return 0;
  22. }
  23. //---------------------------------------------------------------------------
  24.